<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>hello</p>
    <script>
        let obj = {
                name:'dfgs',
                age:'87'
            }
        const hello = function(name,age){
            console.log(name)
            console.log(age)
            let objt = {
                name:name,
                age:age
            }

            // setTimeout(function(){
                lalala(hello)
                console.log("SDfadf")
            // },20)
        }
        const lalala = function(callback){
        //    console.log(callback()) 
             console.log(callback)
        }
        hello('kobe','38')
    </script>
    <script>
        let plist = document.querySelectorAll('p')
        console.log(plist)
        console.log(plist[0].nodeName)
        console.log(plist[0].nodeType)
        console.log(plist[0].nodeValue)
    </script>
</body>
</html>